home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
MELL
/
NETLIB00
/
NetLib
/
c
/
makeaddr
< prev
next >
Wrap
Text File
|
1995-02-28
|
259b
|
15 lines
#include "arpa/inet.h"
#include "netinet/in.h"
/*
* Create an internet address from a network number and a local address
*/
struct in_addr inet_makeaddr(u_long net,u_long lna)
{
struct in_addr address;
address.s_addr = net | lna;
return address;
}